package com.subsequent.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName assess
 */
@TableName(value ="assess")
@Data
public class Assess implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 患者id
     */
    private Integer suffererId;

    /**
     * 科室
     */
    private Integer deptId;

    /**
     * 主治医生
     */
    private Integer hospitalId;

    /**
     * 发布时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date issuingTime;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 星级
     */
    private Integer classes;

    /**
     * 评价内容
     */
    private String content;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}